package cn;

import cn.webrx.App;
import cn.webrx.mapper.BookMapper;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

/**
 * <p>功能描述: </p>
 *
 * @author webrx
 * @version 1.0
 * @date 2020-05-23 18:32
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = App.class)
public class Demo {
    @Autowired
    private BookMapper bookdao;

    @Test
    public void show(){
        System.out.println(bookdao.queryAll());
    }
}
